package top.aigoo.project01.controller.shopadmin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description: 主要用来解析路由并转发到相应的html中
 * @Author: Mr.OYSHUO.欧阳大叔  mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/8/11 0:35
 */
@Controller
@RequestMapping(value = "shopadmin", method = RequestMethod.GET)
public class ShopAdminRouterController {
    /**
     * 转发至店铺注册/编辑页面
     */
    @RequestMapping(value = "/shopoperation", method = RequestMethod.GET)
    public String shopOperation() {
        //转发至店铺注册/编辑页面
        return "shop/shopoperation";
    }

    /**
     * 转发至店铺列表页面
     */
    @RequestMapping(value = "/shoplist", method = RequestMethod.GET)
    public String shopList() {
        //转发至店铺列表页面
        return "shop/shoplist";
    }

    /**
     * 转发至店铺管理页面
     */
    @RequestMapping(value = "/shopmanagement")
    public String shopManage() {
        //转发至店铺管理页面
        return "shop/shopmanagement";
    }

    /**
     * 转发至商品类别管理页面
     */
    @RequestMapping(value = "/productcategorymanage", method = RequestMethod.GET)
    private String productCategoryManage() {
        //转发至商品类别管理页面
        return "shop/productcategorymanage";
    }
    /**
     * 转发至商品管理页面
     */
    @RequestMapping(value = "/productmanage", method = RequestMethod.GET)
    private String productManage() {
        //转发至商品添加/编辑页面
        return "shop/productmanage";
    }
    /**
     * 转发至商品添加/编辑页面
     */
    @RequestMapping(value = "/productoperation", method = RequestMethod.GET)
    private String productOperation() {
        //转发至商品添加/编辑页面
        return "shop/productoperation";
    }


}
